package net.roseparadise.model;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * Password entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="tpassword"
    ,catalog="studio"
)

public class Password  implements java.io.Serializable {


    // Fields    

     private Integer memberid;
     private String password;


    // Constructors

    /** default constructor */
    public Password() {
    }

    
    /** full constructor */
    public Password(Integer memberid,String password) {
        this.memberid = memberid;
        this.password = password;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="MEMBERID", unique=true, nullable=false)

    public Integer getMemberid() {
        return this.memberid;
    }
    
    public void setMemberid(Integer memberid) {
        this.memberid = memberid;
    }
    
    @Column(name="PASSWORD", nullable=false, length=12)

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
   








}